* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url(../img/index-bg.png);
}

a {
    text-decoration: none;
    color: #828282;
}

li {
    list-style: none;
}


/* 版心 */

.w {
    width: 900px;
    margin: 0 auto;
}


/* 顶部导航栏部分 */

.top-nav {
    background-color: #fff;
    box-shadow: 0 0 0.6rem 0 #d0d0d0;
    width: 100%;
    height: 60px;
    position: relative;
}

.top-nav ul {
    position: absolute;
    right: 260px;
}

.top-nav ul li {
    float: left;
    line-height: 60px;
    width: 60px;
}

.top-nav li a:hover {
    color: #f28c8f;
}

.logo {
    position: absolute;
    top: 10px;
    left: 300px;
    width: 300px;
    height: 60px;
}

.logo a {
    font-weight: 100;
    font-style: italic;
}


/* 返回顶部小火箭 */

.go-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    display: none;
}

.go-top span {
    font-size: 80px;
    transition: all 0.6s;
}

.go-top span:hover {
    bottom: 60px;
    cursor: pointer;
}

input,
textarea,
button {
    padding-left: 10px;
    outline: none;
    border: none;
}

textarea {
    border: 1px solid #ccc;
    padding-top: 4px;
}


/* 头像 */

.person img {
    position: absolute;
    top: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
}

.person img:hover {
    transform: scale(1.1);
}


/* 搜索框部分 */

.search-box {
    position: relative;
}

.search-input {
    position: absolute;
    width: 240px;
    height: 32px;
    border: 2px solid #3aa7f9;
    border-radius: 18px;
    top: 40px;
    left: 10px;
    z-index: 999;
    display: none;
}